package com.artron.mediaartron.data.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Class description here
 *
 * @author doing
 * @version 1.0.0
 * @since 2017-12-05.
 */

public class UploadIcon implements Parcelable {


    /**
     * memberLevel :
     * photoUrl : http://testuser.artup.com/head/2017-12-05/35b4f12ab8694ee198e3fcf42f4df036.jpg
     * birthday :
     * errloginTimes : 0
     * giftcardBalance : 0
     * couponGiveSize : 0
     * provinceCode : 1
     * nickname : cgyce24m79mm
     * loginname :
     * sex :
     * client : app
     * loginPlatform : qq
     * signature :
     * passId : 173b901a7efc457a9ef923e8a969eb16
     * registerTime : 2017-09-27 11:52:28
     * uid : E1C6114705E1A16D65D6B62819A343B9
     * email :
     * mobile :
     * lastloginTime :
     * countyCode : 14
     * isDisabled : 0
     * cityCode : 2
     * provinceName : 北京
     * countyName : 顺义区
     * coupon :
     * utoken :
     * cityName : 北京市
     * couponVaildCount : 0
     * isSetPwd : 1
     * photoThumbUrl : http://testuser.artup.com/head/2017-12-05/35b4f12ab8694ee198e3fcf42f4df036_thumb.jpg
     */

    private String memberLevel;
    private String photoUrl;
    private String birthday;
    private int errloginTimes;
    private int giftcardBalance;
    private int couponGiveSize;
    private String provinceCode;
    private String nickname;
    private String loginname;
    private String sex;
    private String client;
    private String loginPlatform;
    private String signature;
    private String passId;
    private String registerTime;
    private String uid;
    private String email;
    private String mobile;
    private String lastloginTime;
    private String countyCode;
    private String isDisabled;
    private String cityCode;
    private String provinceName;
    private String countyName;
    private String coupon;
    private String utoken;
    private String cityName;
    private int couponVaildCount;
    private int isSetPwd;
    private String photoThumbUrl;

    public String getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(String memberLevel) {
        this.memberLevel = memberLevel;
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getErrloginTimes() {
        return errloginTimes;
    }

    public void setErrloginTimes(int errloginTimes) {
        this.errloginTimes = errloginTimes;
    }

    public int getGiftcardBalance() {
        return giftcardBalance;
    }

    public void setGiftcardBalance(int giftcardBalance) {
        this.giftcardBalance = giftcardBalance;
    }

    public int getCouponGiveSize() {
        return couponGiveSize;
    }

    public void setCouponGiveSize(int couponGiveSize) {
        this.couponGiveSize = couponGiveSize;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public String getLoginPlatform() {
        return loginPlatform;
    }

    public void setLoginPlatform(String loginPlatform) {
        this.loginPlatform = loginPlatform;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getPassId() {
        return passId;
    }

    public void setPassId(String passId) {
        this.passId = passId;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getLastloginTime() {
        return lastloginTime;
    }

    public void setLastloginTime(String lastloginTime) {
        this.lastloginTime = lastloginTime;
    }

    public String getCountyCode() {
        return countyCode;
    }

    public void setCountyCode(String countyCode) {
        this.countyCode = countyCode;
    }

    public String getIsDisabled() {
        return isDisabled;
    }

    public void setIsDisabled(String isDisabled) {
        this.isDisabled = isDisabled;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getCoupon() {
        return coupon;
    }

    public void setCoupon(String coupon) {
        this.coupon = coupon;
    }

    public String getUtoken() {
        return utoken;
    }

    public void setUtoken(String utoken) {
        this.utoken = utoken;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public int getCouponVaildCount() {
        return couponVaildCount;
    }

    public void setCouponVaildCount(int couponVaildCount) {
        this.couponVaildCount = couponVaildCount;
    }

    public int getIsSetPwd() {
        return isSetPwd;
    }

    public void setIsSetPwd(int isSetPwd) {
        this.isSetPwd = isSetPwd;
    }

    public String getPhotoThumbUrl() {
        return photoThumbUrl;
    }

    public void setPhotoThumbUrl(String photoThumbUrl) {
        this.photoThumbUrl = photoThumbUrl;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.memberLevel);
        dest.writeString(this.photoUrl);
        dest.writeString(this.birthday);
        dest.writeInt(this.errloginTimes);
        dest.writeInt(this.giftcardBalance);
        dest.writeInt(this.couponGiveSize);
        dest.writeString(this.provinceCode);
        dest.writeString(this.nickname);
        dest.writeString(this.loginname);
        dest.writeString(this.sex);
        dest.writeString(this.client);
        dest.writeString(this.loginPlatform);
        dest.writeString(this.signature);
        dest.writeString(this.passId);
        dest.writeString(this.registerTime);
        dest.writeString(this.uid);
        dest.writeString(this.email);
        dest.writeString(this.mobile);
        dest.writeString(this.lastloginTime);
        dest.writeString(this.countyCode);
        dest.writeString(this.isDisabled);
        dest.writeString(this.cityCode);
        dest.writeString(this.provinceName);
        dest.writeString(this.countyName);
        dest.writeString(this.coupon);
        dest.writeString(this.utoken);
        dest.writeString(this.cityName);
        dest.writeInt(this.couponVaildCount);
        dest.writeInt(this.isSetPwd);
        dest.writeString(this.photoThumbUrl);
    }

    public UploadIcon() {
    }

    protected UploadIcon(Parcel in) {
        this.memberLevel = in.readString();
        this.photoUrl = in.readString();
        this.birthday = in.readString();
        this.errloginTimes = in.readInt();
        this.giftcardBalance = in.readInt();
        this.couponGiveSize = in.readInt();
        this.provinceCode = in.readString();
        this.nickname = in.readString();
        this.loginname = in.readString();
        this.sex = in.readString();
        this.client = in.readString();
        this.loginPlatform = in.readString();
        this.signature = in.readString();
        this.passId = in.readString();
        this.registerTime = in.readString();
        this.uid = in.readString();
        this.email = in.readString();
        this.mobile = in.readString();
        this.lastloginTime = in.readString();
        this.countyCode = in.readString();
        this.isDisabled = in.readString();
        this.cityCode = in.readString();
        this.provinceName = in.readString();
        this.countyName = in.readString();
        this.coupon = in.readString();
        this.utoken = in.readString();
        this.cityName = in.readString();
        this.couponVaildCount = in.readInt();
        this.isSetPwd = in.readInt();
        this.photoThumbUrl = in.readString();
    }

    public static final Parcelable.Creator<UploadIcon> CREATOR = new Parcelable.Creator<UploadIcon>() {
        @Override
        public UploadIcon createFromParcel(Parcel source) {
            return new UploadIcon(source);
        }

        @Override
        public UploadIcon[] newArray(int size) {
            return new UploadIcon[size];
        }
    };
}
